﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true"
    CodeBehind="ChangePwd.aspx.cs" Inherits="DomMgmtSystem.View.ChangePwd" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../Js/artDialog/artDialog.js" type="text/javascript"></script>
    <script src="../Js/artDialog/plugins/iframeTools.source.js" type="text/javascript"></script>
    <link href="../Js/artDialog/skins/blue.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $("#Content_btnSave").click(function () {
                if ($("#Content_txtNewPwd").val() != $("#Content_txtRePwd").val()) {
                    Alert("新密码和确认密码不一致");
                    return false;
                }
                return true;
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
    <div id="InCheck">
        <table class="table table-bordered table-hover">
            <thead>
                <tr>
                    <td colspan="2" class="tableTitle">
                        <asp:Label ID="lbTitle" runat="server" Text="修改密码"></asp:Label>
                    </td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td class="tableleft">
                        原密码：
                    </td>
                    <td id="tdProductID">
                        <asp:TextBox ID="txtOldPwd" runat="server" isnull='False' TextMode="Password"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        新密码：
                    </td>
                    <td>
                        <asp:TextBox ID="txtNewPwd" runat="server" isnull='False' TextMode="Password"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tableleft">
                        确认密码：
                    </td>
                    <td>
                        <asp:TextBox ID="txtRePwd" runat="server" isnull='False' TextMode="Password"></asp:TextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="divcenter">
            <asp:Button ID="btnSave" runat="server" Text="保 存" OnClick="btnSave_Click" OnClientClick="javascript:if(CheckPage()==false) return false"
                class="btn btn-primary" />
        </div>
    </div>
</asp:Content>
